package homework.test8;



public class Demo8 {
    public static void main(String[] args) {
        MyThread8 m = new MyThread8();

        Thread mt1 = new Thread(m);
        Thread mt2 = new Thread(m);
        Thread mt3 = new Thread(m);

        mt1.setName("窗口一");
        mt2.setName("窗口二");
        mt3.setName("窗口三");

        mt1.start();
        mt2.start();
        mt3.start();
    }
}
